package cn.pink.common.entity.game;

import cn.pink.core.gen.entity.Column;
import cn.pink.core.gen.entity.Entity;

/**
 * 角色信息
 * @Author: pink
 * @Date: 2022/7/18 17:47
 */
@Entity(entityName = "HumanInfoDB", tableName = "humanInfo")
public class EntityHumanInfo {
    /** 账号 */
    @Column(name = "account")
    private String account;

    /** 渠道id */
    @Column(name = "channelId")
    private String channelId;

    /** 设备id */
    @Column(name = "deviceId")
    private String deviceId;

    /** 昵称 */
    @Column(name = "name")
    private String name;

    /** 等级 */
    @Column(name = "level")
    private int level;

    /** 最后一次登入时间 */
    @Column(name = "timeLogin")
    private long timeLogin;

    /** 最后一次登出时间 */
    @Column(name = "timeLogout")
    private long timeLogout;

    /** 角色注册时间 */
    @Column(name = "timeRegister")
    private long timeRegister;

    /** 需要被初始化 */
    @Column(name = "needInit")
    private boolean needInit;
}
